<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Flex box Task</title>
    <style>
        body {
            background-color: #fff;
            color: black;
            font: 1.2em / 1.5 Helvetica Neue,
            Helvetica,
            Arial,
            sans-serif;
            padding: 1em;
            margin: 0;
        }
        /*用了ul li, li 会把一行填满*/
        ul{
            padding: 0;
            display: flex;
            flex-direction: column;
            list-style: none;
            margin: 0;
        }

        a {
            background-color: #4d7298;
            /*border: 元素之间的间隔, 带上颜色,宽度,solid, 不能比 圆角大,不然圆角显示不了*/
            border: 1px solid white;
            border-radius: 10px;
            padding: 5px;
            color: white;
            display: inline-flex;
            text-decoration: none;
        }

        /*a {*/
        /*    background-color: #4d7298;*/
        /*     !*border: 元素之间的间隔, 带上颜色,宽度,solid, 不能比 圆角大,不然圆角显示不了*!*/
        /*    border: 1px solid white;*/
        /*    border-radius: 10px;*/
        /*    padding: 5px;*/
        /*    color: white;*/
        /*    display: inline-flex;*/
        /*    text-decoration: none;*/
        /*}*/

    </style>
</head>
<body>
<nav>
    <ul>
        <li><a href="/">Home</a></li>
        <li><a href="/about">About Us</a></li>
        <li><a href="/products">Our Products</a></li>
        <li><a href="/contact">Contact Us</a></li>
    </ul>
</nav>
</body>
</html>